package oa.hleast.xswl.pojo.form.clockin;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * ums_clock_in
 *
 * @author
 */
@ApiModel(value = "com.UmsClockIn用户打卡关联表")
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
public class UmsClockInForm implements Serializable {
    private static final long serialVersionUID = 1L;
    private Long id;

    /**
     * 用户ID
     */
    @ApiModelProperty(value = "用户ID")
    @NotNull
    private Long userId;

    /**
     * 打卡来源
     */
    @ApiModelProperty(value = "打卡来源")
    private String sourceType;

    /**
     * 场所ID
     */
    @ApiModelProperty(value = "场所ID")
    private Long placeInfoId;

    /**
     * 经度
     */
    private BigDecimal longitude;

    /**
     * 纬度
     */
    private BigDecimal latitude;

}